#ifndef BATTERYMONITORTEST_H
#define BATTERYMONITORTEST_H

#include <QDialog>
#include <QLabel>
#include <QPushButton>
#include <QLineEdit>
#include <qobject.h>
#include <QTimer>
#include <QListView>
#include <QStandardItemModel>
#include <QObject>
#include <QWidget>

namespace Ui {
class BatteryMonitorTest;
}
class BatteryMonitor;


class BatteryMonitorTest:public QObject
{
    Q_OBJECT
public:
    explicit BatteryMonitorTest(QWidget *parent = 0);
    ~BatteryMonitorTest();

private slots:

    void on_Affirm_Button_clicked();

    void on_Button_SetWarning_clicked();

    void on_Button_SetChargeVolume_clicked();

    void on_SetChargeTime_Button_clicked();

    void on_Button_SetGoCharge_clicked();

private:
    Ui::BatteryMonitorTest *ui;
    BatteryMonitor *batteryMonitor;
    QTimer timer;
    QStandardItemModel *standardItemModel;
    QStandardItem *standarItem;
};

#endif // BATTERYMONITORTEST_H
